﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <cms action="NODE" return="NodeVar" />
    <title>[$NodeVar.NodeName] - 农牧渔查询</title><link href="[$SKIN_URL]style/base.css" type="text/css" rel="stylesheet" />
    <link href="[$SKIN_URL]style/common.css" type="text/css" rel="stylesheet" />
    <link href="[$SKIN_URL]style/subpage.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <div class="w1003">
        <include file="head.html" />
    </div>
    <div class="w985 mt5 f12 lh200 position">
        <div>
            <span>您所在位置：</span>
            <loop name="NodeInfo.Navigation" key="key" var="var">
		<if test="$key == 1" >
		 <A href="[$var.URL]"> 首页 </A>
		<else>
		> <A href=" [$var.URL] "> [$var.Name] </A>
		</if> 
	</loop>
        </div>
    </div>
    <div class="w985 h1000" style="padding: 0 4px 10px;">
        <div class="fl w200 sideBar">
            <h2 class="tc f16 fb">
             <if test="$NodeVar.NodeID>9">
            	<CMS action="NODE" return="NodeVar_p" NodeID="parent" />
            	[$NodeVar_p.NodeName]
            <else>
            	[$NodeVar.NodeName]
            </if>
            </h2>
            <ul class="f14 fb">
             <if test="$NodeVar.NodeID>=10">
            	<CMS action="NODELIST" return="List" Type="brother" NodeID="{$NodeVar.NodeID}" Ignore="" />
                <loop name="List" key="key" var="var" >
                <if test="$NodeVar.NodeID == $var.NodeID">
                    <li><a  class="sideBar_on" href="[$var.NodeURL]">[$var.NodeName]</a></li>
                <else>
                	<li><a  href="[$var.NodeURL]">[$var.NodeName]</a></li>
                </if>
                </loop>
            <else>
            	<CMS action="NODELIST" return="List" Type="son" NodeID="{$NodeVar.NodeID}" Ignore="" />
                <loop name="List" key="key" var="var" >
                 	<li><a  href="[$var.NodeURL]">[$var.NodeName]</a></li>
                </loop>
            </if>
            </ul>
        </div>
        <div class="fl ml7 w500">
            <div class="list">
                <ul class="f14">
                    <cms action="LIST" return="List" nodeid="all-{$NodeVar.NodeID}" num="page-20" orderby="TopWeight desc,PubTime DESC" />
                    <loop name="List" var="var" key="key">
                    <if test="$key!=1 && $key%5 ==1">
                </ul>
                <ul class="f14">
                    <li><span class="fr">[@date('yyyy-MM-dd',$var.PubTime)]</span><a title="[$var.Title]" href="[$var.URL]" target="_blank">[@Csubstr($var.Title,0,24,'')]</a></li>
                    <else>
                        <li><span class="fr">[@date('yyyy-MM-dd',$var.PubTime)]</span><a title="[$var.Title]"  href="[$var.URL]" target="_blank">[@Csubstr($var.Title,0,24,'')]</a></li>
                    </if> </LOOP>
                </ul>
                <div class="f12 lh200 page" style="width: 460px;">
                    [@list_page($PageInfo.TotalPage,$PageInfo.CurrentPage,$PageInfo.URL)]</div>
            </div>
        </div>
        <div class="fr w270 pb15">
            <div class="pr indexLeft">
                <i class="pa ILIconL"></i><i class="pa ILIconR"></i>
                <include file="searchForm.html" />
            </div>
            <div class="pr indexLeft">
                <i class="pa ILIconL"></i><i class="pa ILIconR"></i>
                <div class="indexLeftBg">
                    <h2 class="f13 fb lh180">
                        新闻公告点击排行</h2>
                    <ul class="f12">
                        <cms action="LIST" return="List" nodeid="all-{$NodeVar.NodeID}" num="10" orderby="Click desc,PubTime DESC" />
                        <loop name="List" var="var" key="key">
                	<li><a target="_blank" title="[$var.Title]"  href="[$var.URL]">[@Csubstr($var.Title,0,17,'')]</a></li>
 				</loop>
                    </ul>
                </div>
            </div>
            <div class="pr indexLeft">
                <i class="pa ILIconL"></i><i class="pa ILIconR"></i>
                <div class="indexLeftBg">
                    <h2 class="f13 fb lh180">
                        编辑推荐</h2>
                    <cms action="LIST" return="List" nodeid="all-2" num="2" where="len(c.Photo) > 0 and TopWeight=2" orderby="PubTime DESC" />
                    <loop name="List" var="var" key="key">
                	<div class="f12 recommend">
                        <a target="_blank" title="[$var.Title]"  href="[$var.URL]" class="fl"><img src="[@AutoMini($var.Photo, '105*73', $var)]" /></a>
                        <div class="fr"><h3 class="unl fb lh200"><a target="_blank" title="[$var.Title]"  href="[$var.URL]">[@Csubstr($var.Title,0,8,'')]</a></h3><p class="lh150">[@csubstr_tags($var.Content,0,24)]...</p></div>
                	</div>
 				</loop>
                    <ul class="cb f12">
                        <cms action="LIST" return="List" nodeid="all-2" num="6" where="TopWeight=1" orderby="PubTime DESC" />
                        <loop name="List" var="var" key="key">
                	<li><a target="_blank" title="[$var.Title]"  href="[$var.URL]">[@Csubstr($var.Title,0,17,'')]</a></li>
 				</loop>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="w1003">
        <include file="foot.html" />
    </div>
</body>
</html>
